home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / dpathcon.txt < prev    next >
Text File  |  1992-03-24  |  2KB  |  64 lines

  1. Dpathconf(2)              Oct. 1, 1991               Dpathconf(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Dpathconf - get information about file system configuration
  7.  
  8. SYNOPSIS
  9.      LONG Dpathconf( char *name, WORD mode );
  10.  
  11. DESCRIPTION
  12.      Dpathconf returns information about various limits or  capa-
  13.      bilities  of the file system containing the file named name.
  14.      The variable mode controls  which  limit  or  capability  is
  15.      being queried, as follows:
  16.             mode    Value Returned
  17.  
  18.           -1   return max. legal value for n in Dpathconf(n)
  19.           0    return internal limit on the number of open files
  20.           1    return max. number of links to a file
  21.           2    return max. length of a full path name
  22.           3    return max. length of an individual file name
  23.           4    return number of bytes that can be written atomically
  24.           5    return information about file name truncation
  25.      If any of these items are  unlimited,  then  0x7fffffffL  is
  26.      returned.
  27.  
  28.      For mode 5, return information about file  name  truncation,
  29.      the returned value has the following meaning:
  30.  
  31.      0    File names are never truncated; if the file name in any
  32.           system  call  affecting this directory exceeds the max-
  33.           imum length (returned by mode 3), then the error  value
  34.           ERANGE is returned from that system call.
  35.  
  36.      1    File names are automatically truncated to  the  maximum
  37.           length.
  38.  
  39.      2    File names are truncated according to DOS  rules,  i.e.
  40.           to  a  maximum  8  character  base name and a maximum 3
  41.           character extension.
  42.  
  43. SEE ALSO
  44.      Sysconf(2)
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.